package com.bleeth;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.text.Text;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

public class CustomSliderAAA extends Application {

    public void start(Stage primaryStage) {
        primaryStage.initStyle(StageStyle.UNDECORATED);
        StackPane root = new StackPane();
        root.getChildren().add(new Text(50,50,"Hello"));
        root.setStyle("-fx-border-color: blue;");
        primaryStage.setScene(new Scene(root, 300, 250));
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}